/*
 *  MouseOverPattern.h
 *  Rempart
 *
 *
 */

#ifndef __MOUSEOVERPATTERN
#define __MOUSEOVERPATTERN

#include "Map.h"
#include "OutOfMapException.h"
extern sf::Mutex globalLock;


class MouseOverPattern {
private:
	//int pattern;
	
	void initVars(int random);
	
	const static int patternList[5][3][3];
	
	int currentPattern[3][3];
	
public:
	const static int numberOfPattern;
	enum patterns {
		L,
		line,
		point
	};
	
	MouseOverPattern();
	MouseOverPattern(int myTemplate);
	~MouseOverPattern();
	bool isSelected(int case_x,int case_y);
	void rotate();
};


#endif